package com.nbsaas.boot.product.rest.convert;

import com.nbsaas.boot.product.data.entity.ProductSpecificationValue;
import com.nbsaas.boot.product.api.domain.response.ProductSpecificationValueResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 商品规格值-实体对象转化成响应对象
*/

public class ProductSpecificationValueResponseConvert  implements Converter<ProductSpecificationValueResponse,ProductSpecificationValue> {

    @Override
    public ProductSpecificationValueResponse convert(ProductSpecificationValue source) {
        ProductSpecificationValueResponse  result = new  ProductSpecificationValueResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

